add_definitions("-g -std=c++17")
#SET(CMAKE_BUILD_TYPE "Debug")
#SET(CMAKE_CXX_FLAGS_DEBUG "$ENV{CXXFLAGS} -O0 -Wall -g2 -ggdb")
#SET(CMAKE_CXX_FLAGS_RELEASE "$ENV{CXXFLAGS} -O3 -Wall")

add_executable(main thread.cpp  threadpool.cpp main.cpp result.cpp semaphore.cpp task.cpp )
target_link_libraries(main pthread)